* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

.parallax-roll {
    height: 612px;
    background-repeat: none;
    background-attachment: fixed;
    background-size: 100% auto;
}

.parallax-title {
    line-height: 56px;
    position: relative;
    text-align: center;
    top: 316px;
}

.parallax-title>p:first-child {
    display: inline-block;
    padding: 0 20px 0 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 45px;
}

@media screen and (max-width: 768px) {
    body {
        width: 1200px !important;
    }
    .resp-img {
        width: 1200px;
    }
    .parallax-roll {
        height: 612px;
        background-repeat: none;
        background-attachment: fixed;
        background-size: 1200px auto;
    }
}


/* ===================== navbar start =============================*/

.header {
    width: 100%;
    /*max-height: 60px !important;*/
    z-index: 11;
    /*相对位置，应该是与跳页的插件有关*/
    position: absolute;
    background: rgb(226, 226, 226);
    /* RGBa, 透明度0.6 */
    /*整个背景颜色*/
    background: rgba(192, 193, 158, 0.3);
}

.header .head_logo {
    margin: 5px 0;
    width: 20%;
    height: 100%;
    display: inline-block;
    /*float: left;*/
}

.header .head_logo img {
    /*图片大小*/
    width: 100%;
    /*height: 60px;*/
}

.header .head_content {
    /*导航栏和图片的位置*/
    width: 75%;
    /*height: 60px;*/
    margin: auto;
}

.head_navbar {
    float: right;
    z-index: 5;
    text-align: center;
    width: 50%;
}

#main {
    width: 100%;
    position: relative;
    list-style: none;
    font-weight: 400;
    font-size: 0;
    text-transform: uppercase;
    display: inline-block;
}

#main li {
    width: 20%;
    font-size: 1.1rem;
    display: inline-block;
    position: relative;
    padding: 3.5% 2%;
    cursor: pointer;
    z-index: 5;
    /*min-width: 120px;*/
}

#main li a {
    color: #fff;
}

#main a:hover {
    color: #C0C19E;
}

#main .drop a:hover {
    color: #C0C19E;
}

li {
    margin: 0;
}

.drop {
    text-align: center;
    overflow: hidden;
    list-style: none;
    position: absolute;
    padding: 0;
    width: 100%;
    left: 0;
    top: 102%;
}


/*下拉样式*/

.drop div {
    -webkit-transform: translate(0, -100%);
    -moz-transform: translate(0, -100%);
    -ms-transform: translate(0, -100%);
    transform: translate(0, -100%);
    -webkit-transition: all 0.5s 0.1s;
    -moz-transition: all 0.5s 0.1s;
    -ms-transition: all 0.5s 0.1s;
    transition: all 0.5s 0.1s;
    position: relative;
    background: rgba(192, 193, 158, 0.3);
}


/*下拉社团字体颜色*/

#main .drop div li {
    /*margin: 10px 0;*/
    width: 100%;
    padding: 15px 15px;
    color: #fff;
}

#marker {
    height: 6px;
    background: rgba(207, 208, 171, 0.6);
    position: absolute;
    bottom: 0;
    width: 20%;
    z-index: 2;
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    -ms-transition: all 0.35s;
    transition: all 0.35s;
}

#main li:nth-child(1):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

#main li:nth-child(1):hover ~ #marker {
    -webkit-transform: translate(0px, 0);
    -moz-transform: translate(0px, 0);
    -ms-transform: translate(0px, 0);
    transform: translate(0px, 0);
}

#main li:nth-child(2):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

#main li:nth-child(2):hover ~ #marker {
    -webkit-transform: translate(100%, 0);
    -moz-transform: translate(100%, 0);
    -ms-transform: translate(100%, 0);
    transform: translate(100%, 0);
}

#main li:nth-child(3):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

#main li:nth-child(3):hover ~ #marker {
    -webkit-transform: translate(200%, 0);
    -moz-transform: translate(200%, 0);
    -ms-transform: translate(200%, 0);
    transform: translate(200%, 0);
}

#main li:nth-child(4):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

#main li:nth-child(4):hover ~ #marker {
    -webkit-transform: translate(300%, 0);
    -moz-transform: translate(300%, 0);
    -ms-transform: translate(300%, 0);
    transform: translate(300%, 0);
}

#main li:nth-child(5):hover ul div {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}

#main li:nth-child(5):hover ~ #marker {
    -webkit-transform: translate(400%, 0);
    -moz-transform: translate(400%, 0);
    -ms-transform: translate(400%, 0);
    transform: translate(400%, 0);
}


/* ===================== navbar end =============================*/

.footer {
    // background-color: #393536;
    background-color: #000;
    padding-bottom: 32px;
}

.footer-logo {
    display: inline-block;
    padding: 32px;
    text-align: center;
}
